Skip to content

Support hosted mode for gateway.domain helper#1293

Merged
ArnobKumarSaha merged 1 commit into
masterfrom
arnob-gw-hosted
Jul 8, 2026
Merged

Support hosted mode for gateway.domain helper#1293
ArnobKumarSaha merged 1 commit into
masterfrom
arnob-gw-hosted

Conversation

@ArnobKumarSaha

Copy link
Copy Markdown
Member

Summary

  • When gatewayClass.annotations.mode is hosted, gateway.domain (charts/service-gateway) now resolves to infra.host directly instead of the cluster/namespace-prefixed name.
  • All existing callers (gw.yaml, gwclass.yaml, gateway-dns.yaml, certificate.yaml) pick this up automatically via the shared helper.

Test plan

  • helm template with default values renders cleanly
  • helm template --show-only templates/gateway-tls/certificate.yaml — default produces tbd.ace.chart-example.local
  • Same, with --set gatewayClass.annotations.mode=hosted --set infra.host=example.com — produces example.com exactly

When gatewayClass.annotations.mode is 'hosted', gateway.domain resolves
to infra.host directly instead of the cluster/namespace-prefixed name.

Signed-off-by: Arnob kumar saha <arnob@appscode.com>
@ArnobKumarSaha
ArnobKumarSaha merged commit 1548baa into master Jul 8, 2026
10 checks passed
@ArnobKumarSaha
ArnobKumarSaha deleted the arnob-gw-hosted branch July 8, 2026 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant